<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <!--在html文件中使用js-->
  <script type="text/javascript" src="function.js"></script>
</head>
<body>

</body>
</html>